class MemberModel {
  int? id;
  String? nickName;
  String? areaCode;
  String? mobile;
  int? vipGrade;
  int? partnerGrade;
  String? inviteCode;
  int? inviteId;
  String? avatar;
  int? gender;
  String? birth;
  int? provinceId;
  int? cityId;
  int? districtId;
  String? wechatNo;

  MemberModel(
      {this.id,
        this.nickName,
        this.areaCode,
        this.mobile,
        this.vipGrade,
        this.partnerGrade,
        this.inviteCode,
        this.inviteId,
        this.avatar,
        this.gender,
        this.birth,
        this.provinceId,
        this.cityId,
        this.districtId,
        this.wechatNo});

  MemberModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    nickName = json['nickName'];
    areaCode = json['areaCode'];
    mobile = json['mobile'];
    vipGrade = json['vipGrade'];
    partnerGrade = json['partnerGrade'];
    inviteCode = json['inviteCode'];
    inviteId = json['inviteId'];
    avatar = json['avatar'];
    gender = json['gender'];
    birth = json['birth'];
    provinceId = json['provinceId'];
    cityId = json['cityId'];
    districtId = json['districtId'];
    wechatNo = json['wechatNo'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['nickName'] = this.nickName;
    data['areaCode'] = this.areaCode;
    data['mobile'] = this.mobile;
    data['vipGrade'] = this.vipGrade;
    data['partnerGrade'] = this.partnerGrade;
    data['inviteCode'] = this.inviteCode;
    data['inviteId'] = this.inviteId;
    data['avatar'] = this.avatar;
    data['gender'] = this.gender;
    data['birth'] = this.birth;
    data['provinceId'] = this.provinceId;
    data['cityId'] = this.cityId;
    data['districtId'] = this.districtId;
    data['wechatNo'] = this.wechatNo;
    return data;
  }
}
